package com.lws.hellojersey.bean;

import javax.xml.bind.annotation.XmlRootElement;

/**
 * Created by lvws on 2016/4/28.
 */
@XmlRootElement
public class User implements java.io.Serializable {

    private String userName;
    private Integer age;

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String toString() {
        return "name:" + userName + " age:" + age;
    }
}
